package com.xc.pay.weixin.constant;

/**
 * 微信常量类
 *
 * @author rongrong
 * @date 2020/11/27
 */
public class WxProperties {

  /** 配置类属性前缀 */
  public static final String PREFIX = "pay.wechat";
  /** 配置类属性后缀 */
  public static final String ENABLE = "enable";

  /** ===============是否开启该支付================== */
  public static final String APP = PREFIX + ".app." + ENABLE;

  public static final String JSAPI = PREFIX + ".jsapi." + ENABLE;

  public static final String H5 = PREFIX + ".h5." + ENABLE;

  public static final String NATIVE_PAY = PREFIX + ".nativePay." + ENABLE;

  public static final String PAYMENT_CODE = PREFIX + ".paymentCode." + ENABLE;

  public static final String MINI_PROGRAM = PREFIX + ".miniProgram." + ENABLE;

  /**==================其他常量=======================*/

  public static final String PAY_SERVER_URL_PREFIX = "https://api.mch.weixin.qq.com/v3/pay/transactions/%s";


  /** ===================END====================== */

}
